const express = require("express");
const router = express.Router();

const handle = require("../routes_handle/post");

// 添加
router.post("/post/add", handle.add);
// 删除
router.post("/post/delete", handle.delete);
// 修改
router.post("/post/edit", handle.edit);
// 修改点赞
router.post("/post/editLove", handle.editLove);
// 查询
router.post("/post/list", handle.list);
// 查询详情
router.post("/post/details", handle.details);
module.exports = router;
